package com.swd.order.vo;


import com.fasterxml.jackson.annotation.JsonFormat;
import com.swd.order.model.Flavor;
import com.swd.order.model.Place;
import com.swd.order.model.User;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class OrderVo {

    private Integer id;

    private User user;

    private Byte status;

    private Integer num;

    private Place place;

    private Flavor flavor;

    @JsonFormat(pattern="MM-dd hh:mm E",timezone="GMT+8")
    private Date mealTime;

    private Integer sum;

    private String mealType;

    private String remark;



    @JsonFormat(pattern="yyyy-MM-dd hh:mm",timezone="GMT+8")
    private Date createTime;
    @JsonFormat(pattern="yyyy-MM-dd hh:mm",timezone="GMT+8")
    private Date notifyTime;
    @JsonFormat(pattern="yyyy-MM-dd hh:mm",timezone="GMT+8")
    private Date finishTime;

    private List<FoodsVo> foods;

}
